package com.app.controller;


import com.app.model.AdminUserModel;
import com.app.model.MotionVideoModel;
import com.app.service.AdminUserService;
import com.app.service.DaMeiSuZhouService;
import com.app.util.CommonHelp;
import com.app.util.Result;
import com.app.util.TokenUtils;
import com.app.vo.VideoVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

/**
 * 大美
 */
@RestController
@RequestMapping("/api/daMeiSuZhou")
public class DaMeiSuZhouController {

    @Autowired
    private DaMeiSuZhouService daMeiSuZhouService;

    @Autowired
    AdminUserService adminUserService;

    //大美肃州管理查询
    @GetMapping("/apiGetDaMeiSuZhouList")
    public Result<Object> getDaMeiSuZhouList(Integer page,
                                             Integer limit,
                                             String keyword,
                                             Integer type,
                                             Integer videoType, HttpServletRequest request) {

        VideoVo daMeiSuZhouList = daMeiSuZhouService.getDaMeiSuZhouList(page, limit, keyword, type, videoType);
        return Result.success(daMeiSuZhouList);
    }
}
